package org.springblade.modules.repair.entity;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 维保任务关联人员中间表
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_maintain_plan_content_offline")
public class MaintainPlanContentOffline extends TenantEntity {
    /**
     * 计划任务id
     */
    @TableField(value = "plan_id")
    private Long planId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 离线数据
     */
    @TableField(value = "offline_data",typeHandler = JacksonTypeHandler.class)
    private JSONObject offlineData;
}
